<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="__PUBLIC__/favicon.ico" >
	<link rel="Shortcut Icon" href="__PUBLIC__/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="__PUBLIC__/lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/css/style.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/lib/layui/css/layui.css"  media="all">
<!--[if IE 6]>
<script type="text/javascript" src="__PUBLIC__/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

</head>
<body>
<div style="position:fixed;top:0;width: 100%; border-top-style: solid;border-top-width: 2px;border-top-color: #009688;"></div> 
<article class="page-container">
	<form action="__URL__/editUserHandle" method="post" class="form form-horizontal" id="form-admin-user-edit">
		<input type="hidden" name="id" value="{$user.id}"/>

		<div class="col-xs-12 col-sm-12">
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>手机号：
				</label>
				<div class="formControls col-xs-8 col-sm-4">
					<input type="text" class="input-text disabled" value="{$user.dianhua}" placeholder=""  name="dianhua" datatype="s5-16" readonly/>
				</div>
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>用户名称：
				</label>
				<div class="formControls col-xs-8 col-sm-4">
					<input type="text" class="input-text" value="{$user.ygmingcheng}" placeholder=""  name="ygmingcheng">
				</div>
			</div>
			<br/>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>密码：
				</label>
				<div class="formControls col-xs-8 col-sm-4">
					<input type="password" class="input-text" value="" placeholder="" id="password" name="mima">
				</div>
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>员工编号：
				</label>
				<div class="formControls col-xs-8 col-sm-4">
					<input type="text" class="input-text" value="{$user.ygbianhao}" placeholder="" id="" name="ygbianhao">
				</div>
			</div>
			<br/>
			<div class="row cl">
				<div class="row cl">
					<label class="form-label col-xs-4 col-sm-2">
						<span class="c-red">*</span>所属部门：
					</label>
					<div class="formControls col-xs-8 col-sm-4">
						<select name="bumen" class="input-text radius">
							<foreach name='bumen' item='v'>
								<option style="display:none">请选择部门</option>
								<option value="{$v['id']}" <if condition="$user['bumen'] eq $v['id']">selected</if>>{$v.bmming}</option>
							</foreach>
						</select>
					</div>
				</div>
			</div>
			<br/>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">
					限制查看数：
				</label>
				<div class="formControls col-xs-8 col-sm-4">
					<select name="xzchakan" class="input-text radius">
						<option value="30" <if condition="$user['bumen'] eq '30'">selected</if>>30</option>
						<option value="40" <if condition="$user['bumen'] eq '40'">selected</if>>40</option>
						<option value="50" <if condition="$user['bumen'] eq '50'">selected</if>>50</option>
					</select>
				</div>
				<if condition="$_SESSION['superadmin'] eq 1">
					<label class="form-label col-xs-4 col-sm-2">
						Keyid：
					</label>
					<div class="formControls col-xs-4 col-sm-2">
						<input type="text" class="input-text" placeholder=""  name="keyid"  id="keyid" value="{$user.keyid}" readonly/>
					</div>
					<label class="formControls col-xs-4 col-sm-2">
						<a onclick='login_onclick();'>获取key</a><br/>
						<a onclick='qingkongkey();'>清空key</a>
					</label>
				</if>
			</div>
		</div>
		<div style="height: 50px;"></div>
	</div>
</form>
</article>
</body>
</html>











